gen:
	protoc -I/Users/wkc/lab/micro-test2/src \
	--go_out=plugins=micro:/Users/wkc/lab/micro-test2/src \
	/Users/wkc/lab/micro-test2/src/git.oschina.net/wkc/master-key-go/proto/example/example.proto

build-api:
	echo build version $(VERSION)
	GOOS=linux go build
	docker build -t registry.cn-hangzhou.aliyuncs.com/nomad/hello:master-key-go-web-$(VERSION) .
	docker push registry.cn-hangzhou.aliyuncs.com/nomad/hello:master-key-go-web-$(VERSION)

inc_ver:
	python hack/increment_version.py

VERSION:=25
